package debtbundler.presentation.basecomponents;

/**
 * A GUI component that provides a view to domain objects.
 * 
 * @author Anssi
 */
public interface DomainViewComponent<T> {
	
	/**
	 * Refreshes values of fields that relate to the domain in this component. 
	 */
	public void refreshDomainFields();
	
	/**
	 * @return	the domain components in this view
	 */
	public T getDomainComponent();

}
